﻿// 1.3.1.1.3. Forrest Road -> http://bgcoder.com/Contest/DownloadTask/7

using System;

class ForestRoad
{
    static void Main()
    {
        int userInput = int.Parse(Console.ReadLine());

        for (int row = 1; row <= userInput; row++)
        {
            for (int i = 0; i < row - 1; i++)
            {
                Console.Write(".");
            }
            Console.Write("*");
            for (int i = userInput - 1; i >= row; i--)
            {
                Console.Write(".");
            }
            Console.WriteLine();
        }
        for (int row2 = 2; row2 <= userInput; row2++)
        {
            for (int i = userInput - 1; i >= row2; i--)
            {
                Console.Write(".");
            }
            Console.Write("*");
            for (int i = 0; i < row2 - 1; i++)
            {
                Console.Write(".");
            }
            Console.WriteLine();
        }
    }
}